<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td width="1">
		{if ($smarty.get.tpl_realstate_module=='groups' || !$smarty.get.tpl_realstate_module) && !$smarty.get.group_id}
		<span style="width:80px;  background:#DBE1E5">
		<table width="100%" height="25" cellpadding="0" cellspacing="0">
			<tr>
				<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr><a href="index.php?admin=1&tpl_realstate_module=groups{if $smarty.get.tpl_group_filter}&tpl_group_filter={$smarty.get.tpl_group_filter}{/if}" target="_self">{t t='Grupės'}</a></td>
			</tr>
		</table>
		</span>
		{else}
		<span style="width:80px; height:25px;">
		<table width="100%" height="25" cellpadding="0" cellspacing="0">
			<tr>	
				<td bgcolor="#fffff" height="2"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
			<tr>
				<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				<td bgcolor="#EDF0F2" style="padding:0px 10px 0px 10px; color:#767879; text-align:center"><nobr><a href="index.php?admin=1&tpl_realstate_module=groups{if $smarty.get.tpl_group_filter}&tpl_group_filter={$smarty.get.tpl_group_filter}{/if}" target="_self">{t t='Grupės'}</a></td>
				<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
			<tr>	
				<td bgcolor="#fffff" height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
			<tr>
				<td bgcolor="#C4CDD2" height="1" colspan="3"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>				
			</tr>
		</table>
		</span>				
		{/if}
	</td>			
	{if $smarty.get.group_id || $smarty.get.tpl_realstate_module=='product'}
	<td width="1">
		{if $smarty.get.tpl_realstate_module=='goods' && $smarty.get.group_id}
		<span style="width:80px;  background:#DBE1E5">
		<table width="100%" height="25" cellpadding="0" cellspacing="0">
			<tr>
				<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr><a href="index.php?admin=1&tpl_realstate_module=goods&group_id={$smarty.get.group_id}{if $smarty.get.tpl_group_filter}&tpl_group_filter={$smarty.get.tpl_group_filter}{/if}" target="_self">{t t='Objektai'}</a></td>
			</tr>
		</table>
		</span>
		{else}
		<span style="width:80px; height:25px;">
		<table width="100%" height="25" cellpadding="0" cellspacing="0">
			<tr>	
				<td bgcolor="#fffff" height="2"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
			<tr>
				<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				<td bgcolor="#EDF0F2" style="padding:0px 10px 0px 10px; color:#767879; text-align:center"><nobr><a href="index.php?admin=1&tpl_realstate_module=goods&group_id={$smarty.get.group_id}{if $smarty.get.tpl_group_filter}&tpl_group_filter={$smarty.get.tpl_group_filter}{/if}" target="_self">{t t='Objektai'}</a></td>
				<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
			<tr>	
				<td bgcolor="#fffff" height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
			<tr>
				<td bgcolor="#C4CDD2" height="1" colspan="3"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>				
			</tr>
		</table>
		</span>				
		{/if}
	</td>		
	{/if}
	
	{if $smarty.get.tpl_realstate_module=='search'}
	<td width="1">
	{if $smarty.get.tpl_realstate_module=='search'}
		<span style="width:150px;  background:#DBE1E5">
		<table width="100%" height="25" cellpadding="0" cellspacing="0">
			<tr>
				<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr><a href="index.php?admin=1&tpl_realstate_module=search{if $smarty.get.tpl_group_filter}&tpl_group_filter={$smarty.get.tpl_group_filter}{/if}" target="_self">{t t='Objektų paieška'}</a></td>
			</tr>
		</table>
		</span>
		{else}
		<span style="width:150px; height:25px;">
		<table width="100%" height="25" cellpadding="0" cellspacing="0">
			<tr>	
				<td bgcolor="#fffff" height="2"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
			<tr>
				<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				<td bgcolor="#EDF0F2" style="padding:0px 10px 0px 10px; color:#767879; text-align:center"><nobr><a href="index.php?admin=1&tpl_realstate_module=search{if $smarty.get.tpl_group_filter}&tpl_group_filter={$smarty.get.tpl_group_filter}{/if}" target="_self">{t t='Objektų paieška'}</a></td>
				<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
			<tr>	
				<td bgcolor="#fffff" height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
			<tr>
				<td bgcolor="#C4CDD2" height="1" colspan="3"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>				
			</tr>
		</table>
		</span>				
	{/if}
	</td>
	<!-- /* klientų paieska -->
	{/if}
	
	<!-- * kliento duomenu redagavimas -->
	{if $smarty.get.tpl_realstate_module=='product'}		
	<td width="1">
		<span style="width:200px;  background:#DBE1E5">
		<table width="100%" height="25" cellpadding="0" cellspacing="0">
			<tr>
				<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr>{t t='Objekto duomenų redagavimas'}</td>
			</tr>
		</table>
		</span>	
	</td>
	{/if}
	<!-- /* kliento duomenu redagavimas -->
	
	
	<!-- * grupes formos redagavimas -->
	{if $smarty.get.tpl_realstate_module=='group_form'}		
	<td width="1">
		<span style="width:150px;  background:#DBE1E5">
		<table width="100%" height="25" cellpadding="0" cellspacing="0">
			<tr>
				<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr>{t t='Objekto grupės duomenų redagavimas'}</td>
			</tr>
		</table>
		</span>	
	</td>
	{/if}
	<!-- /* grupes formos redagavimas  -->

	{ext->class_function class="realstate" func="get_all_modules" user=$smarty.session.login_user assign="modules_list"}
	{if $modules_list.curency == 1}
	<!-- * valiutos -->
	<td width="1">
		{if $smarty.get.tpl_realstate_module=='curency'}
		<span style="width:100px;  background:#DBE1E5">
		<table width="100%" height="25" cellpadding="0" cellspacing="0">
			<tr>
				<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr><a href="index.php?admin=1&tpl_realstate_module=curency{if $smarty.get.group_id}&group_id={$smarty.get.group_id}{/if}{if $smarty.get.tpl_group_filter}&tpl_group_filter={$smarty.get.tpl_group_filter}{/if}" target="_self">{t t='Valiutos'}</a></td>
			</tr>
		</table>
		</span>
		{else}
		<span style="width:100px; height:25px;">
		<table width="100%" height="25" cellpadding="0" cellspacing="0">
			<tr>	
				<td bgcolor="#fffff" height="2"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
			<tr>
				<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				<td bgcolor="#EDF0F2" style="padding:0px 10px 0px 10px; color:#767879; text-align:center"><nobr><a href="index.php?admin=1&tpl_realstate_module=curency{if $smarty.get.group_id}&group_id={$smarty.get.group_id}{/if}{if $smarty.get.tpl_group_filter}&tpl_group_filter={$smarty.get.tpl_group_filter}{/if}" target="_self">{t t='Valiutos'}</a></td>
				<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
			<tr>	
				<td bgcolor="#fffff" height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
			<tr>
				<td bgcolor="#C4CDD2" height="1" colspan="3"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>				
			</tr>
		</table>
		</span>				
		{/if}
	</td>
	<!-- /* valiutos -->
	{/if}
	
	{if $modules_list.off == 1}
	<!-- * nuolaidos/antkainai -->
	<td width="1">
		{if $smarty.get.tpl_realstate_module=='off'}
		<span style="width:150px;  background:#DBE1E5">
		<table width="100%" height="25" cellpadding="0" cellspacing="0">
			<tr>
				<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr><a href="index.php?admin=1&tpl_realstate_module=off{if $smarty.get.tpl_group_filter}&tpl_group_filter={$smarty.get.tpl_group_filter}{/if}{if $smarty.get.off_group_filter_id}&off_group_filter_id={$smarty.get.off_group_filter_id}{/if}" target="_self">{t t='Nuolaidos'}</a></td>
			</tr>
		</table>
		</span>
		{else}
		<span style="width:150px; height:25px;">
		<table width="100%" height="25" cellpadding="0" cellspacing="0">
			<tr>	
				<td bgcolor="#fffff" height="2"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
			<tr>
				<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				<td bgcolor="#EDF0F2" style="padding:0px 10px 0px 10px; color:#767879; text-align:center"><nobr><a href="index.php?admin=1&tpl_realstate_module=off{if $smarty.get.tpl_group_filter}&tpl_group_filter={$smarty.get.tpl_group_filter}{/if}{if $smarty.get.off_group_filter_id}&off_group_filter_id={$smarty.get.off_group_filter_id}{/if}" target="_self">{t t='Nuolaidos'}</a></td>
				<td width="1" bgcolor="#ffffff"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
			<tr>	
				<td bgcolor="#fffff" height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
			<tr>
				<td bgcolor="#C4CDD2" height="1" colspan="3"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>				
			</tr>
		</table>
		</span>				
		{/if}
	</td>
	<!-- /* nuolaidos/antkainai -->
	{/if}
	
	<!-- * modifikatoriaus redagavimas -->
	{if $smarty.get.tpl_realstate_module=='off_edit'}		
	<td width="1">
		<span style="width:150px;  background:#DBE1E5">
		<table width="100%" height="25" cellpadding="0" cellspacing="0">
			<tr>
				<td style="border:1px solid #C4CDD2; border-bottom-color:#DBE1E5; padding:0px 10px 0px 10px; color:#000000; text-align:center"><nobr>{t t='Kainos modifikatoriaus redagavimas'}</td>
			</tr>
		</table>
		</span>	
	</td>
	{/if}
	<!-- /* modifikatoriaus redagavimas  -->
	
		<td height="25" valign="bottom"><span style="background-color:#C4CDD2; width:100%"><img src="client/img/spacer.gif" class="spacer" alt="" /></span></td>		
	</tr>
</table>